import request from '@/utils/request.js'

const BASE_URL = 'user'

export const mapApi = {
  // 获取附近的老师
  getNearbyTeachers: (params) => {
    return request({
      url: `${BASE_URL}/teachers/nearby`,
      method: 'GET',
      params
    })
  }
} 